package com.hospital.pet.love.lovepethospital.dto.caze;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @author RoselleShaw
 * @create 2024-05-10 10:53
 */
@Data
@Schema(description = "修改病例 Dto")
public class UpdateCaseDto {

    @Schema(description = "唯一标识", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer caseId;
    @Schema(description = "病情描述", requiredMode = Schema.RequiredMode.AUTO)
    private String diseaseDescription;
    @Schema(description = "诊断结果", requiredMode = Schema.RequiredMode.AUTO)
    private String diagnosis;
    @Schema(description = "治疗方案", requiredMode = Schema.RequiredMode.AUTO)
    private String treatment;
    @Schema(description = "支付金额", requiredMode = Schema.RequiredMode.AUTO)
    private BigDecimal payMoney;
    @Schema(description = "药品（key：药物 ID，value：数量）", requiredMode = Schema.RequiredMode.AUTO)
    private Map<Integer, Integer> medications;
    @Schema(description = "支付状态 0 未支付 1 已支付", requiredMode = Schema.RequiredMode.AUTO)
    private Integer payState;
    @Schema(description = "就诊状态 0 就诊 1 支付完成 2 取消", requiredMode = Schema.RequiredMode.AUTO)
    private Integer visitState;

}
